import { request } from "@/utils/service"

/** 审核人列表 */
export function auditorListApi(data: any) {
  return request({
    url:"/system/auditor/list",
    method: "POST",
    data
  })
}

/** 获取审核人 */
export function getAuditorApi(data: any) {
  return request({
    url:"/system/auditor/get",
    method: "POST",
    data
  })
}


/** 新增审核人 */
export function addAuditorApi(data: any) {
  return request({
    url:"/system/auditor/add",
    method: "POST",
    data
  })
}

/** 修改审核人 */
export function editAuditorApi(data: any) {
  return request({
    url:"/system/auditor/update",
    method: "POST",
    data
  })
}

/** 修改审核人状态 */
export function editAuditorStatusApi(data: any) {
  return request({
    url:"/system/auditor/update/status",
    method: "POST",
    data
  })
}

/** 修改审核人密码 */
export function editAuditorPwdApi(data: any) {
  return request({
    url:"/system/auditor/update/pwd",
    method: "POST",
    data
  })
}

/** 删除审核人 */
export function delAuditorApi(data: any) {
  return request({
    url:"/system/auditor/delete",
    method: "POST",
    data
  })
}
